include ../Makefile.shared

define PROJ_acve
  SOURCES = add.ml addPrune.ml minfill.ml acveImpl.ml acve.ml
  RESULT = acve
endef
export PROJ_acve

# If the environment does not define subprojects to handle,
# then set a default
ifndef SUBPROJS
  export SUBPROJS = acve
endif

export LIBS=ext str unix data expat mn bn circuit

# Default target to use
all: nc
	cp $(SUBPROJS) $(BINDIR)

# Catch-all target will be applied to all subprojects automatically
%:
	@$(MAKE) -f $(OCAMLMAKEFILE) subprojs SUBTARGET=$@
